//
//  TransitionAnimationDelegate.h
//  Home
//
//  Created by 曹连华 on 2019/7/3.
//  Copyright © 2019 曹连华. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TransitionAnimation.h"

NS_ASSUME_NONNULL_BEGIN

@interface TransitionAnimationDelegate : NSObject <UINavigationControllerDelegate,
                                                   UIViewControllerTransitioningDelegate,
                                                   UITabBarControllerDelegate>

/**
 * 更新 转场动画 对象  可继承 TransitionAnimation 例如  TransitionAnimationCustom
 * 此函数 必须在 页面push | present 之前调用
 */
- (void)updateTransitionAnimation:(nullable TransitionAnimation *)transitionAnimation;

@end

NS_ASSUME_NONNULL_END
